<template>
  <span>{{ text }}</span>
</template>

<script>
export default {
  name: "wareHousingStatus",
  props: {
    value: {
      type: Number,
      default: 1
    }
  },
  data() {
    return {
      statusList: [
        '待提交',
        '待审核',
        '已入库',
        '已驳回',
        '已取消',
        '待确定',
        '待入库',
      ],
    }
  },
  computed: {
    text() {
      return this.statusList[this.value - 1];
    }
  }
}
</script>